'use strict';

const Controller = require('../core/base_controller');

class EmailController extends Controller {
    // 获取评论列表
    async getList() {
        await this.comment('getList')
    }
    // 获取一级评论
    async getFirstList() {
        await this.comment('getFirstList')
    }
    // 发布评论
    async publish() {
        await this.comment('publish')
    }
    // 更新评论
    async update() {
        await this.comment('update')
    }
    // 删除评论
    async delComment() {
        await this.comment('delComment')
    }
}

module.exports = EmailController;